package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.PaymentStateEnum;
import com.ym.medical.enums.PlaformSourceEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 心意对象 mind
 *
 * @author ym
 * @date 2020-09-02
 */
@ApiModel("心意-列表")
@Data
public class MindListPcVO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("关联id")
    private Long relatedId;

    @ApiModelProperty("答谢订单编号")
    private String ioNum;

    @ApiModelProperty("答谢人主键")
    private Long userId;

    @ApiModelProperty("被答谢人主键")
    private Long doctorId;

    @ApiModelProperty("答谢金额主键")
    private Long thankMoneyId;

    @ApiModelProperty("答谢备注")
    private String thankContent;

    @ApiModelProperty("答谢来源")
    private String thankSource;

    @ApiModelProperty("支付状态 (01 待支付 02 已支付 03 退费申请中 04 已退费 05支付失败)PaymentStateEnum")
    @JsonSerialize(converter = PaymentStateEnum.Covert.class)
    private String payState;

    @ApiModelProperty("可空，付款账户")
    private String payAcc;

    @ApiModelProperty("付款方式")
    private String payType;

    @ApiModelProperty("支付来源 (01-小程序 02-公众号)")
    @JsonSerialize(converter = PlaformSourceEnum.Covert.class)
    private String paySource;

    @ApiModelProperty("交易时间")
    private Date tdTime;

}
